package com.sanyang.pda.adapter;

import androidx.annotation.Nullable;

import com.chad.library.adapter.base.viewholder.BaseViewHolder;
import com.sanyang.pda.bean.PalletDetailBean;
import com.wangshen.base.ui.mvp.base.adapter.BaseAdapter;
import com.wangshen.projectbase.R;

import java.util.List;

public class PalletDetailAdapter extends BaseAdapter<PalletDetailBean> {
    public PalletDetailAdapter(int layoutResId, @Nullable List<PalletDetailBean> data) {
        super(layoutResId, data);
    }

    @Override
    protected void convert(BaseViewHolder helper, PalletDetailBean item) {
        super.convert(helper, item);
        helper.setText(R.id.tv_pallet,item.getPallet());
        helper.setText(R.id.tv_palletState,item.getPalletState());

    }
}
